﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace PlanoAula.BD
{
    [Table("DiaNaoUtil")]
    public class DiaNaoUtil : TabelaBD
    {
        [Required]
        public string Nome { get; set; }

        // Required to force Code First to create a ntext column, not a nvarchar(n)
        //[Column(TypeName = "ntext")]
        public string Descricao { get; set; }

        // Required to force Code First to create an image column, not a binary(n)
        //[Column(TypeName = "image")]
        public virtual DateTime Data { get; set; }

    }
}
